package top.zhangjianyong.blog.service;

import com.baomidou.mybatisplus.extension.service.IService;
import java.util.Collection;
import top.zhangjianyong.blog.entity.po.RoleMenu;

/**
 * 角色菜单service
 *
 * @author zhangjianyong
 * @since 2024/7/24 下午11:05
 */
public interface RoleMenuService extends IService<RoleMenu> {

  boolean remove(Long roleId, Collection<Long> menuIds);

  boolean save(Long roleId, Collection<Long> menuIds);

  void removeByRole(Long roleId);

  boolean removeByMenu(Long menuId);
}
